package com.yuanfeng.userms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.userms.entity.UserPointsLogEntity;

import java.util.Map;

/**
 *
 */
public interface UserPointsLogService extends IService<UserPointsLogEntity> {

    /**
     * 判断当前用户当天是否已经登录过
     *
     * @param map
     * @return
     */
    ResponseResult queryLoginExit(Map<String, String> map);


    /**
     * 添加积分修改记录
     *
     * @param map
     * @return
     */
    ResponseResult insertByMap(Map<String, Object> map);

    /**
     * 积分明细列表
     *
     * @param params
     * @return
     */
    ResponseResult queryIntegralDetailList(Map<String, Object> params);


    /**
     * 平台查询 积分明细列表
     *
     * @param params
     * @return
     */
    ResponseResult query(Map<String, Object> params);

}
